<template>
  <div class="min-h-screen ">
    <NavBar />
    <main data-scroll-container>
      <Home />
      <Guide />
      <Sounds />
    </main>
    <Footer />
  </div>
</template>

<script setup>
import { onMounted } from 'vue'
// components
import NavBar from '@/components/NavBar/index.vue'
import Home from '@/components/Home/index.vue'
import Guide from '@/components/Guide/index.vue'
import Sounds from '@/components/Sounds/index.vue'
import Footer from '@/components/Footer/index.vue'
import locomotiveScroll from 'locomotive-scroll';
onMounted(() => {
  // new locomotiveScroll({
  //   el: document.querySelector('[data-scroll-container]'),
  //   smooth: true
  // })
})
</script>

<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 400px;
  background-color: #ecf1fd;
}

.scroll-target {
  min-height: 100vh;
  padding-top: 60px;
}
</style>
